const getDefaultState = () => {
  return {
    deviceData: {
      subpackage: false,
      receiveSampleStateId: 1,
      emergencyLevelId: 1,
      sampleTreatmentAfterTestId: 1,
      projectEngineerName: '',
      testEngineerName: '',
      recipientAfterTestName: '',
      sampleDataList: [],
      testItemProperty: []
    }
  }
}

const state = getDefaultState()

const mutations = {
  SET_DATA: (state, form) => {
    state.deviceData = form
  }
}

const actions = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
